#ifndef __SERVER_H__
#define __SERVER_H__
#include <mysql.h>

struct server {
	char ip[16];
	int port;
	char name[256];
	char gametype[256];
	char gamedescription[256];
	char game[16];
	char os[32];
	int maxplayers;
	int numplayers;
	int dedicated;
	int secure;
	int bots;
};

#ifdef __cplusplus
extern "C" {
#endif

int update_server(MYSQL *conn, const struct server *s);

#ifdef __cplusplus
};
#endif

#endif
